package com.jbit.userserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jbit.userserver.model.entity.User;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author jobob
 * @since 2023-12-18
 */
public interface UserService extends IService<User> {
    Map<String,Object> login(String loginName,String password);

    User getUserByToken(HttpServletRequest request);

}
